package com.xiaoqing.framework.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.xiaoqing.framework.type.Sex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: <a href="get_xiaobo@163.com">Josh_Xu</a>
 * @description:
 * @create: 2020-06-19 22:31
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "用户信息")
public class Account implements Serializable {

    private static final long serialVersionUID = 562257249406430547L;

    @TableId
    @ApiModelProperty(value = "用户id")
    private Long accountId;

    @ApiModelProperty(value = "用户姓名")
    private String accountName;

    @ApiModelProperty(value = "性别 0未知 1男 2女")
    private Sex gender;

    @ApiModelProperty(value = "密码")
    private String password;
}
